package hy.dao;

import hy.beans.Emp;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

//@Mapper
@Repository
public interface EmpMapper {
    @Select("select id,name,sal from emp")
    List<Emp> selectAllEmp();
}